﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.ConstrainedExecution;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    [DataContract]
    public class SI1314Data
    {
        [DataMember(Name = "ver")]
        public string Ver { get; set; }

        public SI1314Data(string ver)
        {
            Ver = ver;
        }
    }

    [DataContract]
    public class SI1314InputModel
    {
        [DataMember(Name = "data")]
        public SI1314Data SI1314Data { get; set; }

        public SI1314InputModel(string ver)
        {
            SI1314Data = new SI1314Data(ver);
        }
    }

    /// <summary>
    /// 1314
    /// 中医疾病目录下载
    /// </summary>
    [DataContract]
    public class SI1314RequestModel : SIBaseRequestModel
    {
        public SI1314RequestModel(MedicalInsuranceOption medicalInsuranceOption, string ver) : base(medicalInsuranceOption)
        {
            Infno = "1314";
            Input = new SI1314InputModel(ver);
        }

        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI1314InputModel Input { get; set; }
    }
}
